package com.service;

import com.entity.OperLog;
import com.mapper.OperLogMapper;
import com.service.IOperLogService;
import com.vo.OperationLog;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * TODO
 *
 * @version 1.0
 * @description:
 * @fileName:OperLogServiceImpl
 * @author:
 * @createTime: 2022-05-05  21:25:01
 */

@Service
public class OperLogServiceImpl implements IOperLogService {
    @Resource
    private OperLogMapper operLogMapper;

    @Override
    public int insert(OperLog operLog) {
        return operLogMapper.insert(operLog);
    }

    @Override
    public List<OperationLog> showEchartsByOperationLog(String monthDay) {
        return operLogMapper.showEchartsByOperationLog(monthDay);
    }
}
